#include "pdeDoseEngine.h"

using namespace pde;

void main() {
    std::string path1("f:\\proton_dose_models\\test1\\");
	auto lut = Lut::New();
    auto ct = VolumeShort::New();
    auto nozzle = Nozzle::New();
    auto curve = DoseCurve::New();

    lut->from_file(path1+"lut.bson");
    ct->load_volume(path1 + "ct.mhd");
    nozzle->from_file(path1 + "nozzle.bson");

    auto dose_model = nozzle->get_dose_models()[0];

    calculate_idd(nozzle, ct, lut, dose_model, curve);
}